package cn.tom.basic.listener;

import javax.servlet.ServletContextListener;

//WebListener
public class PermissionScanInitListener implements ServletContextListener {

   /* @Autowired
    private IPermissionService permissionService;

    //这个方法用来监听上下文对象的创建 => 只要上下文对象一创建，这个方法自动执行
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        //扫描注解【@PreAuthorize @@RequestMapping @XxxMapping】加权限
        permissionService.scanPermission();
    }*/
}
